/*
 * @Description: 
 * @Autor: ilmari
 * @Date: 2021-04-19 16:10:54
 * @LastEditors: ilmari
 * @LastEditTime: 2021-05-13 08:26:41
 */
import 'package:flutter/material.dart';
//import 'package:get/get.dart';
import 'package:rcmd/my_app.dart';
import 'app/plugins/options/options.dart';
void main() async {
  await initApp(Environment.prod);
  runApp(MyApp());
}
/*
  void _addPage(BuildContext context) {
    showBottomSheet(context: context, builder: (context){
      return Column(children: [
        TextButton.icon(onPressed: (){}, icon: Icon(Icons.coffee_maker), label: Text("互交页面")),
        TextButton.icon(onPressed: (){}, icon: Icon(Icons.comment), label: Text("日志页面")),
        OutlinedButton(child: Text("取消"), onPressed: (){}),
      ],);
    });
  }

void main() {
  runApp(
    GetMaterialApp(
        debugShowCheckedModeBanner: false,
        defaultTransition: Transition.fade,
        home: Scaffold(
          body: Builder(builder:  (context){
            return  IconButton(
              icon: Icon(Icons.search_outlined),
              iconSize: 32,
              padding: EdgeInsets.all(4),
              onPressed: () {_addPage(context);},
            );
        }))
    )
  );
}
*/